let mIsFousOn

function onInputFocus(isFocus) {
    console.log("onInputFocus--" + isFocus)
    mIsFousOn = isFocus;
    let input_div = document.getElementById("input_div")
    input_div.className = isFocus ? "baidu_input_span_div_focus" : "baidu_input_span_div_blur";
}

function onScanMouseOn(isMoveOn) {
    let scan_img_default = document.getElementById("scan_img_default")
    let scan_img_hover = document.getElementById("scan_img_hover")
    let qr_layout_div = document.getElementsByClassName("qr_layout_div")[0]
    if (isMoveOn) {
        scan_img_default.style.visibility = "hidden"
        scan_img_hover.style.visibility = "visible"
        qr_layout_div.style.display = "block"
    } else {
        scan_img_default.style.visibility = "visible"
        scan_img_hover.style.visibility = "hidden"
        qr_layout_div.style.display = "none"
    }
}